package com.jzo2o.customer.controller.open;/**
 * @author wl
 * @version 1.0
 * @since 2025-09-16 18:02
 */

import com.jzo2o.customer.model.dto.request.InstitutionRegisterReqDTO;
import com.jzo2o.customer.service.IAgencyCertificationService;
import com.jzo2o.customer.service.IServeProviderService;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *des:
 *data Created in 2025-09-16 18-02
 */
@RestController("openServeProviderController")
@RequestMapping("open/serve-provider")
@Api(tags = "机构端相关接口")
public class ServeController {

@Resource
private IServeProviderService serveProviderService;

    /**
     * 机构端注册
     * @param institutionRegisterReqDTO
     */
    @PostMapping("/institution/register")
    public void register(@RequestBody InstitutionRegisterReqDTO institutionRegisterReqDTO){
        serveProviderService.registerAgency(institutionRegisterReqDTO);
    }
}
